/**
 * output package name
 */
package com.kingdee.eas.xbang.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class TypeEnum extends StringEnum
{
    public static final String ASSETSCONTRACT_VALUE = "assetsContract";
    public static final String EQUITYCONTRACT_VALUE = "equityContract";
    public static final String BUSINESSCONTRACT_VALUE = "businessContract";
    public static final String OTHERCONTRACT_VALUE = "otherContract";

    public static final TypeEnum assetsContract = new TypeEnum("assetsContract", ASSETSCONTRACT_VALUE);
    public static final TypeEnum equityContract = new TypeEnum("equityContract", EQUITYCONTRACT_VALUE);
    public static final TypeEnum businessContract = new TypeEnum("businessContract", BUSINESSCONTRACT_VALUE);
    public static final TypeEnum otherContract = new TypeEnum("otherContract", OTHERCONTRACT_VALUE);

    /**
     * construct function
     * @param String typeEnum
     */
    private TypeEnum(String name, String typeEnum)
    {
        super(name, typeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static TypeEnum getEnum(String typeEnum)
    {
        return (TypeEnum)getEnum(TypeEnum.class, typeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(TypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(TypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(TypeEnum.class);
    }
}